package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.ecommerce.po.EcommerceOrderDetail;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "新用户修改用户地址请求对象", description = "新用户修改用户地址请求对象")
public class UserModOrderAddressReq  {


    @ApiModelProperty(value = "主订单ID")
    @NotNull(message = "80500002")
    private Integer id;

    @ApiModelProperty(value = "地址ID")
    private Integer addressId;

    @ApiModelProperty(value = "收货人名称")
//    @NotNull(message = "80500003")
    private String name;

    @ApiModelProperty(value = "手机号")
//    @NotNull(message = "80500004")
    private String phoneNumber;


    @ApiModelProperty(value = "省份/直辖市")
//    @NotNull(message = "80500005")
    private String province;

    @ApiModelProperty(value = "城市")
//    @NotNull(message = "80500006")
    private String city;

    @ApiModelProperty(value = "区")
    private String region;

    @ApiModelProperty(value = "详细地址(街道)")
//    @NotNull(message = "80500007")
    private String detailAddress;



}
